package org.mijia.dotsbox.core;

import java.util.List;

public interface Dao<T, Key> {
	
	public T find(Key id);
	public List<Key> findAll();
	public T save(T object);
	public void remove(Key id);
	public EntityManager getEntityManager();
	public void setEntityManager(EntityManager manager);
	
}
